home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.security.misc
- From: mikel@Demax.COM (Mikel Lechner)
- Subject: Re: Security hole removing /tmp files at boot time ?
- Message-ID: <1993Apr1.202231.20458@Demax.COM>
- Organization: Demax Software Inc.
- References: <1993Apr1.111356.11826@uts.uni-c.dk> <1993Apr1.093401.800@fwi.uva.nl>
- Date: Thu, 1 Apr 1993 20:22:31 GMT
-
- But do be careful not to use something like:
-
- (cd /tmp; find . -type f -print | xargs rm -f)
-
- The "xargs" program will interpret the spaces in filenames as argument
- separators. Create a file named "/tmp/ /etc/passwd". A directory
- named " ", containing a directory called "etc", containing a file
- called "passwd". This will cause "/etc/passwd" to be deleted if the
- above command line is used by "root" to cleanup "/tmp".
-
-
- --
- Mikel Lechner E-mail: mikel@Demax.COM
- Software Developer
- Demax Software, Inc. Phone: (415) 341-9017
-
-